Skip to content

refactor(tui): simplify inline tool spacing#33097

Merged
thdxr merged 7 commits into
devfrom
fix-patch-ids
Jun 20, 2026
Merged

refactor(tui): simplify inline tool spacing#33097
thdxr merged 7 commits into
devfrom
fix-patch-ids

Conversation

@thdxr

@thdxr thdxr commented Jun 20, 2026

Copy link
Copy Markdown
Member

Summary

  • let OpenTUI generate IDs for session content rows while retaining user message IDs used for navigation
  • add spacing after any inline row that renders taller than one line
  • explicitly mark user messages, assistant text, summaries, errors, and block tools as always separated
  • treat Task rows like every other inline tool

Testing

  • bun test test/cli/tui/inline-tool-wrap-snapshot.test.tsx --timeout 30000
  • bun typecheck
  • bun prettier --check packages/tui/src/routes/session/index.tsx packages/tui/test/cli/tui/inline-tool-wrap-snapshot.test.tsx
  • bun oxlint packages/tui/src/routes/session/index.tsx packages/tui/test/cli/tui/inline-tool-wrap-snapshot.test.tsx (0 errors; pre-existing warnings only)

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@thdxr thdxr changed the title fix(tui): assign unique patch block IDs refactor(tui): track session layout roles Jun 20, 2026
@thdxr thdxr changed the title refactor(tui): track session layout roles refactor(tui): simplify inline tool spacing Jun 20, 2026
@thdxr thdxr enabled auto-merge (squash) June 20, 2026 12:27
@thdxr thdxr disabled auto-merge June 20, 2026 12:45
@thdxr thdxr merged commit 009f379 into dev Jun 20, 2026
7 of 8 checks passed
@thdxr thdxr deleted the fix-patch-ids branch June 20, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant